Port BUSACCESS - BUS_MANAGER

Bus access via the dSpace Bus Manager

Stimulation

总线信号的激励通过 model access 执行,仅当该访问方式也支持激励时才可行。model access 的限制与说明同样适用于通用总线访问。

Restrictions:

  • 不支持激励输入信号。

  • 由 STI 文件中的 DataFileSegment 引用的 Trace 文件不会由 ecu.test 自动转换。

  • 用户需要自行检查所使用的 Trace 格式是否受该工具支持。

Specifics

  • Enables access to bus quantities (frames and signals) represented in the model, if the dSpace BusManager was used for creating the corresponding model paths.

  • Internal mapping of bus- to model-paths

    • RX: /{modelRoot}/{prefix}/{busName}/Inspection/{matrixName}/{clusterName}/{channelName}/PDUs/%(pdu)s[%(multiplexer)s]/[%(signalGroup)s/]%(signal)s/ISignal Value/%(signal)s Value/IO_Signal

    • TX: /{modelRoot}/{prefix}/{busName}/Simulated ECUs/{matrixName}/%(node)s/TX/PDUs/%(pdu)s[%(multiplexer)s]/[%(signalGroup)s/]%(signal)s/ISignal Value/%(signal)s Value/TA_Replacevalue

    • TX-Switch: /{modelRoot}/{prefix}/{busName}/Simulated ECUs/{matrixName}/%(node)s/TX/PDUs/%(pdu)s[%(multiplexer)s]/[%(signalGroup)s/]%(signal)s/ISignal Value/%(signal)s Value/TA_Switchvalue

    • CRC & Alive TX: /{modelRoot}/{prefix}/{busName}/Manipulation/{matrixName}/{clusterName}/{channelName}/PDUs/%(pdu)s[%(multiplexer)s]/[%(signalGroup)s/]%(signal)s/ISignal Overwrite Value/%(signal)s Overwrite Value/TA_Replacevalue

    • CRC & Alive TX-Switch: /{modelRoot}/{prefix}/{busName}/Manipulation/{matrixName}/{clusterName}/{channelName}/PDUs/%(pdu)s[%(multiplexer)s]/[%(signalGroup)s/]%(signal)s/ISignal Overwrite Value/%(signal)s Overwrite Value/TA_Switchvalue

    • EnableFrame (PDU Enable): /{modelRoot}/{prefix}/{busName}/Simulated ECUs/{matrixName}/%(node)s/TX/PDUs/%(pdu)s/PDU Features/PDU Enable/%(pdu)s Enable

Parts enclosed in curved brackets have the following meaning:

prefix

“Signal Chain/IO Function View/Communication/Bus Manager/Bus Configuration”

modelRoot

Value of the property “bus-path”

busName

Value of the property “bus-name”

matrxName

Value of the property “Configuration Matrix Name”

clusterName

Value of the property “Configuration Cluster Name”

channelName

Value of the property “Configuration Channel Name”

Parts with placeholders like %(placeholder)s are resolved similar to the method used by the Generic Bus Port.

Name

在以下情况下可用

默认值

有效值

Type

Description

总线标识符

string

Logical name of the bus system

Model port

string

Port ID (e.g. “MDL01”) of the model port via which the model access is to be performed. This property can remain empty if there is exactly one model port. If there is more than one model port, this property must be set.

Bus-DB

string

Bus-database (This bus-database is usually taken from the test configuration. Please note that the bus-database is not automatically transferred to the tool, but must be stored there manually.)

Bus path

‘masterappl’

string

Base path of the model variables for the bus signals and messages. The Rx and Tx path specifications refer to this base path.

ALIVE naming pattern

‘ALIV*’

string

Pattern for the recognition of ALIVE signals. ? stands for a single character, * for one or more characters.

CRC naming pattern

‘CRC*’

string

Pattern for the recognition of CRC signals. ? stands for a single character, * for one or more characters.

原始值到物理值的转换行为

‘error’

[‘error’, ‘identical’, ‘first’, ‘firstOrIdentical’]


显示值:

  • ‘error’: ‘not allowed’

  • ‘identical’: ‘identical’

  • ‘first’: ‘第一个转换函数’

  • ‘firstOrIdentical’:‘第一个转换函数或相同’

string

对没有指定转换规则的域中原始值进行转换时的行为。应根据模型如何表示没有物理含义的信号值来设置此选项。默认情况下不允许此类值。

选项 “identical” 直接将原始值视为物理值。

“first conversion function”会对原始值应用第一个已定义的转换函数,即使未针对该值定义该函数。

选项 “first conversion function or identical” 使用第一个转换函数(如果可用),若未定义转换函数则使用原始值。

CHL naming pattern

‘CHL*’

string

Pattern for the recognition of CHL signals. ? stands for a single character, * for one or more characters.

Communication Matrix Name

string

The Communication Matrix Name as defined in the Bus Manager. The mapping rule can be found in the help under ControlDesk -> BUS_MANAGER

Communication Channel Name

string

The name of the communication channel as defined in the Bus Manager. You can get information about the Bus Manager standard in our help file in ControlDesk -> BUS_MANAGER

Communication Cluster Name

string

The Communication Cluster Name as defined in the Bus Manager. The mapping rule can be found in the help under ControlDesk -> BUS_MANAGER

ResetPDUActivation

还原 PDU 激活状态的指定值。

Parameterization

Parameter

Name

在以下情况下可用

默认值

有效值

Type

Description

pduPath

string

相应 PDU 的总线路径。

ResetPDUTiming

撤销对 PDU 循环时间的设置。

Parameterization

Parameter

Name

在以下情况下可用

默认值

有效值

Type

Description

pduPath

string

相应 PDU 的总线路径。